package com.runewbie.pafcmall.product.dao;

import com.runewbie.pafcmall.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 品牌分类关联
 * 
 * @author runewbie
 * @email 0102lijian@gmail.com
 * @date 2020-04-11 22:47:28
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {


    /**
     * 更新品牌分类关联表中的分类冗余字段信息
     * @param catId
     * @param name
     */
    void updateCategory(@Param("catId") Long catId, @Param("name") String name);
}
